Manager: Text Services Manager



Carbon will support nearly all Text Services Manager functions. The exceptions are those functions, such as NewServiceWindow and CloseServiceWindow, used to create and manage floating utility windows. If you have a TSM component that uses floating utility windows, you should replace these functions with equivalent Mac OS 8.5 Window Manager functions, which offer more complete support for creating and managing floating windows.

For example, instead of the NewServiceWindow function, you can use the Window Manager function CreateNewWindow, and specify either kFloatingWindowClass or kUtilityWindowClass.

Likewise, use DisposeWindow insteaad of CloseServiceWindow, GetFrontWindowOfClass instead of GetFrontServiceWindow, and FindWindowOfClass instead of FindServiceWindow.

In addition, it is possible that TSMEvent, TSMMenuSelect, and SetTSMCursor will no longer need to be called, and therefore may not be available. This is still under investigation.

Supported  ActivateTextService

Supported  ActivateTSMDocument

Unsupported  CloseServiceWindow

You should use Mac OS 8.5 Window Manager functions to create floating windows. Then, you should replace calls to CloseServiceWindow with calls to the Window Manager function DisposeWindow.

Supported  CloseTextService

Unsupported  CloseTSMAwareApplication

Not needed in Mac OS X due to the new event model.

Supported  DeactivateTextService

Supported  DeactivateTSMDocument

Supported  DeleteTSMDocument

Unsupported  FindServiceWindow

You should use Mac OS 8.5 Window Manager functions to create floating windows. Then, you should replace calls to FindServiceWindow with calls to the Window Manager function FindWindow.

Supported  FixTextService

Supported  FixTSMDocument

Supported  GetDefaultInputMethod

Unsupported  GetFrontServiceWindow

You should use Mac OS 8.5 Window Manager functions to create floating windows. Then, replace calls to GetFrontServiceWindow with calls to the Window Manager function FrontWindow.

Supported  GetScriptLanguageSupport

Supported  GetServiceList

Supported  GetTextServiceLanguage

Supported  GetTextServiceMenu

Supported  GetTextServiceProperty

Supported  HidePaletteWindows

Supported  InitiateTextService

Unsupported  InitTSMAwareApplication

Not needed in Mac OS X due to the new event model.

Unsupported  NewCServiceWindow

Replace calls to NewCServiceWindow in your component with calls to Mac OS 8.5 Window Manager creation functions, such as CreateNewWindow, which offer more complete support for floating windows.

Unsupported  NewServiceWindow

Replace calls to NewServiceWindow in your component with calls to Mac OS 8.5 Window Manager creation functions, such as CreateNewWindow, which offer more complete support for floating windows.

Supported  NewTSMDocument

Supported  OpenTextService

Supported  SendAEFromTSMComponent

Supported  SetDefaultInputMethod

Supported  SetTextServiceCursor

Supported  SetTextServiceLanguage

Supported  SetTextServiceProperty

Unsupported  SetTSMCursor

Not needed in Mac OS X due to the new event model.

Supported  TerminateTextService

Supported  TextServiceEvent

Supported  TextServiceMenuSelect

Unsupported  TSMEvent

Not needed in Mac OS X due to the new event model.

Unsupported  TSMMenuSelect

Not needed in Mac OS X due to the new event model.

Supported  UCTextServiceEvent

Supported  UseInputWindow

[Table of Contents] [Manager Index] [Function Index]

Generated on: 7/7/99. Copyright 1999 Apple Computer, Inc. All rights reserved.